import { SportsType } from '@/enums'

export interface ReportType {
	id: number
	transactionId: string
	orderNo: string
	currency: string
	amount: string
	balanceBefore: string
	balanceAfter: string
	balanceType: number
	createdAt: Date
	isFreeBet: number
	icon: string
	isCashout: number
	isBet: number
	sessionId: string
	mainTitleEnum: string
	subTitleType: number
	subTitleValue: string
	order: ReportOrder
	bizType: string
	subExtData: string
	subList: any[]
}

export interface ReportOrder {
	selectionId: string
	orderNo: string
	isAbnormal: number
	bonusId: number
	isRfc: number
	comboPrize: string
	dTrueOdds: string
	dDisplayOdds: string
	locale: string
	oddsStyle: string
	status: string
	outcome: string
	orderType: string
	stake: string
	winAmount: string
	marketTypeId: string
	marketTypeCate: string
	eventId: string
	sportId: SportsType
	selectionsNum: number
	sportIds: ReportSelection[]
}

export interface ReportSelection {
	selectionId: string
	marketTypeCate: string
	sportId: SportsType
	eventId: string
	betNameLocale: string
	trueOdds: number
	displayOdds: string
	points: number
	status: string
	betslipLine: string
	side: number
	liveScore1: string
	liveScore2: string
	awayScore: string
	homeScore: string
}
